package com.migo.service;

import com.migo.dto.QueryMyTemplateResultDTO;
import com.migo.entity.MyTemplateCategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 美映使用，剪同款模板分类表
 *
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2021-03-01 11:12:00
 */
public interface MyTemplateCategoryService {

    MyTemplateCategoryEntity queryObject(Integer id);

    List<MyTemplateCategoryEntity> queryList(Map<String, Object> map);

    List<QueryMyTemplateResultDTO> queryMyTemplateList(Map<String, Object> map);

    QueryMyTemplateResultDTO queryMyTemplateDetail(Map<String, Object> map);

    int queryMyTemplateTotal(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(MyTemplateCategoryEntity myTemplateCategory);

    void update(MyTemplateCategoryEntity myTemplateCategory);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);
}
